package dao;

import bean.Course;
import bean.Student;

import java.util.List;

public interface CourseDao {
    List<Course> getCourseAll();
    Course getCourseById(String Con);
    int addCourse(Course course);
    int updateCourse(Course course);
    int deleteCourse(String Con);

    List<Course> getStudentsByName(String cname);
}
